/*
 * @Author: your name
 * @Date: 2020-06-12 15:51:17
 * @LastEditTime: 2020-06-12 15:51:36
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \codeSnippet\webwork\webWork.js
 */
//当收到父进程传递过来的消息时，子进程响应，发回数据
onmessage = function (e) {
  var res = e.data + "帅气！";
  postMessage(res);
  this.close(); //关闭子进程
};
